name | value |
---|---|
partnerPersonTradeName | Test AG |
subscriberFamilyName | Miller |
subscriberGivenName | Michael |
subscriberEMailAddress | michael.miller@example.org |
mailingList | operations-announce |
GET /api/hs/office/persons?name=Test+AG
=> status: 200 OK
[ {
"uuid" : "f8f6ad7e-53d2-4cf0-9cb9-30ca2767c599", // Person: Test AG
"personType" : "LEGAL_PERSON",
"tradeName" : "Test AG",
"salutation" : null,
"title" : null,
"givenName" : null,
"familyName" : null
} ]
In production, data this query could result in multiple outputs. In that case, you have to find out which is the right one.
POST /api/hs/office/relations
{
"type" : "SUBSCRIBER",
"mark" : "operations-announce",
"anchor.uuid" : "f8f6ad7e-53d2-4cf0-9cb9-30ca2767c599", // Person: Test AG
"holder" : {
"personType" : "NATURAL_PERSON",
"familyName" : "Miller",
"givenName" : "Michael"
},
"contact" : {
"caption" : "Michael Miller",
"emailAddresses" : {
"main" : "michael.miller@example.org"
}
}
}
=> status: 201 CREATED 65282fbe-0458-48bb-8540-3f4cec3d0000
generated on 03-10-2025 12:08:17 for branch master